import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useJsonStore = defineStore('json', () => {
  const currentJsonData = ref({});
  const setCurrentJson = (json: Object)=>{
    currentJsonData.value = json;
  }

  return { currentJsonData, setCurrentJson }
})
